<template>
	<view>
		<web-view :webview-styles="webviewStyles" src="http://mws.usw.cn/boot/jmreport/view/725518219373080576?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2ODk4NDA0MDUsInVzZXJuYW1lIjoiYWRtaW4wMDE2In0.x8Go7LcoDt1PvSmYLGN3sgjkW3_mNhe7sahgX6x9VqI"></web-view>
	</view>
</template>

<script>
	import {ACCESS_TOKEN} from '@/common/util/constants.js'
	export default {
		data() {
			return {
				tok:'',
				srcBillUrl: 'http://mws.usw.cn/boot/jmreport/view/725518219373080576?token=',
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				}
			}
		},
		created(){
			console.log("-----------payBill------created------")
			let tok= uni.getStorageSync(ACCESS_TOKEN)
			console.log(tok)
			this.tok=tok;
			this.srcBillUrl = this.srcBillUrl +tok;
		},
	}
</script>

<style>

</style>
